package com.yaozheng.vocationaltraining.bean;

import java.util.ArrayList;

/**
 * Created by moon on 2017/11/9.
 */

public class QuestionAnswerItemBean {
//    "id": 1,
//            "qid": 1,
//            "cateId": 1,
//            "body": "怎么来的我也真是不知道，期待高人解答",
//            "like": true, // 当前用户是否已经点赞
//            "selected": 0, // 是否为选中答案
//            "status": 1, // 0-待审核，1-已审核
//            "createdTime": "2017-10-28 15:19:53",
//    "score": 110,  // 获得奖励
//            "likeCnt": 1, // 点赞数

    private int id;
    private int qid;
    private int cateId;
    private String body;
    private boolean like;
    private int selected;
    private int status;
    private String createdTime;
    private int score;
    private int likeCnt;

    private ArrayList<ImageBean> images = new ArrayList<>();

    private CreatorBean creator;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getQid() {
        return qid;
    }

    public void setQid(int qid) {
        this.qid = qid;
    }

    public int getCateId() {
        return cateId;
    }

    public void setCateId(int cateId) {
        this.cateId = cateId;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public boolean isLike() {
        return like;
    }

    public void setLike(boolean like) {
        this.like = like;
    }

    public int getSelected() {
        return selected;
    }

    public void setSelected(int selected) {
        this.selected = selected;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public CreatorBean getCreator() {
        return creator;
    }

    public void setCreator(CreatorBean creator) {
        this.creator = creator;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getLikeCnt() {
        return likeCnt;
    }

    public void setLikeCnt(int likeCnt) {
        this.likeCnt = likeCnt;
    }

    public ArrayList<ImageBean> getImages() {
        return images;
    }

    public void setImages(ArrayList<ImageBean> images) {
        this.images = images;
    }
}
